package com.recharge.controller;

import com.recharge.ExceptionEnum;

/**
 * Created by CAOQI on 2017/2/20.
 */
public class ResponseInfo {

    private String code;

    private String msg;
    
    private String data;

    public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public void setEnum(ExceptionEnum exceptionEnump){
        code = exceptionEnump.getCode();
        msg= exceptionEnump.getMsg();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
